<template>
  <view>
    <view @tap="clearBaseInfo">清除题库信息</view>
  </view>
</template>

<script lang="ts" setup>
  import { useLearnBaseTypes, clearLearnBaseInfo } from '@/composables/LearnBase'
  const { learnBaseTypes } = useLearnBaseTypes()
  const clearBaseInfo = () => {
    // 清空题库信息
    clearLearnBaseInfo()
    uni.showToast({
      title: '题库清除成功',
      icon: 'none',
    })
  }
</script>

<style lang="scss" scoped></style>
